<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>
<script>
import { registerAPI } from '@/api'

export default {
  data () {
    return {
      obj: {
        username: 'admix02', password: '123456'
      }
    }
  },
  created () {

  },
  methods: {
    async regis () {
      const { data: res } = await registerAPI(this.$qs.stringify(this.obj))
      console.log(res)
    }
  }
}
</script>
<style lang="less" scoped>
#app{
  height: 100%;
}
</style>
